<?php

declare (strict_types=1);

namespace App\Model;

use Qbhy\HyperfAuth\AuthAbility;
use Qbhy\HyperfAuth\Authenticatable;

/**
 * @package App\Model
 */
class UsersLive extends BaseModel
{
    use AuthAbility;

    protected $table = 'user_detail';

    public $timestamps = true;

    protected $fillable = [
        'user_id',
        'nickname',
        'head_img',
        'sex',
        'real_name',
        'id_num',
        'id_type',
    ];

    public $id_type = [
        '0' => '未设置',
        '1' => '身份证',
        '2' => '护照',
    ];
}
